$.ajax({
  type: "GET",
    url: "/api/brand/list",
    success: function (res) {
        console.log(res.data);
        var htmlStr = template('tpl-brand', res.data)
        $('.brand-list').html(htmlStr)
  }
});